package com.zabra.zl.data;

import java.util.List;

public class DetailsDealBean {
    /**
     * respDesc : 操作成功
     * bpAmt : 10000.00
     * serviceAmt : 30.00
     * orderNo : 201912061423
     * warningAmt : 10502.50
     * endDate : 2019-12-11
     * bpType : 1
     * bpAround : 2
     * positions : [{"sharesCode":"600123","buyPrice":"6.24","nowPrice":"6.24","marketVal":"624.00","sharesId":50,"earnAmt":"0.13","nowNum":100,"sharesName":"兰花科创","bpFundsRId":59,"earnAmtRatio":0.02,"canSellNum":100}]
     * positionRatio : 5.70
     * closeAmt : 10301.50
     * useBalance : 10321.13
     * totMarketVal : 624.00
     * totStockAmt : 11005.00
     * positionVal : 10945.13
     * guaranteeAmt : 1005.00
     * respCode : ZB0000
     * startDate : 2019-12-06
     * totEarnAmt : -59.87
     */

    private String respDesc;
    private String bpAmt;
    private String serviceAmt;
    private String orderNo;
    private String warningAmt;
    private String endDate;
    private int bpType;
    private int bpAround;
    private String positionRatio;
    private String closeAmt;
    private String useBalance;
    private String totMarketVal;
    private String totStockAmt;
    private String positionVal;
    private String guaranteeAmt;
    private String respCode;
    private String startDate;
    private String totEarnAmt;
    private List<PositionsBean> positions;

    public String getRespDesc() {
        return respDesc;
    }

    public void setRespDesc(String respDesc) {
        this.respDesc = respDesc;
    }

    public String getBpAmt() {
        return bpAmt;
    }

    public void setBpAmt(String bpAmt) {
        this.bpAmt = bpAmt;
    }

    public String getServiceAmt() {
        return serviceAmt;
    }

    public void setServiceAmt(String serviceAmt) {
        this.serviceAmt = serviceAmt;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getWarningAmt() {
        return warningAmt;
    }

    public void setWarningAmt(String warningAmt) {
        this.warningAmt = warningAmt;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public int getBpType() {
        return bpType;
    }

    public void setBpType(int bpType) {
        this.bpType = bpType;
    }

    public int getBpAround() {
        return bpAround;
    }

    public void setBpAround(int bpAround) {
        this.bpAround = bpAround;
    }

    public String getPositionRatio() {
        return positionRatio;
    }

    public void setPositionRatio(String positionRatio) {
        this.positionRatio = positionRatio;
    }

    public String getCloseAmt() {
        return closeAmt;
    }

    public void setCloseAmt(String closeAmt) {
        this.closeAmt = closeAmt;
    }

    public String getUseBalance() {
        return useBalance;
    }

    public void setUseBalance(String useBalance) {
        this.useBalance = useBalance;
    }

    public String getTotMarketVal() {
        return totMarketVal;
    }

    public void setTotMarketVal(String totMarketVal) {
        this.totMarketVal = totMarketVal;
    }

    public String getTotStockAmt() {
        return totStockAmt;
    }

    public void setTotStockAmt(String totStockAmt) {
        this.totStockAmt = totStockAmt;
    }

    public String getPositionVal() {
        return positionVal;
    }

    public void setPositionVal(String positionVal) {
        this.positionVal = positionVal;
    }

    public String getGuaranteeAmt() {
        return guaranteeAmt;
    }

    public void setGuaranteeAmt(String guaranteeAmt) {
        this.guaranteeAmt = guaranteeAmt;
    }

    public String getRespCode() {
        return respCode;
    }

    public void setRespCode(String respCode) {
        this.respCode = respCode;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getTotEarnAmt() {
        return totEarnAmt;
    }

    public void setTotEarnAmt(String totEarnAmt) {
        this.totEarnAmt = totEarnAmt;
    }

    public List<PositionsBean> getPositions() {
        return positions;
    }

    public void setPositions(List<PositionsBean> positions) {
        this.positions = positions;
    }

    public static class PositionsBean {
        /**
         * sharesCode : 600123
         * buyPrice : 6.24
         * nowPrice : 6.24
         * marketVal : 624.00
         * sharesId : 50
         * earnAmt : 0.13
         * nowNum : 100
         * sharesName : 兰花科创
         * bpFundsRId : 59
         * earnAmtRatio : 0.02
         * canSellNum : 100
         */

        private String sharesCode;
        private String buyPrice;
        private String nowPrice;
        private String marketVal;
        private int sharesId;
        private String earnAmt;
        private int nowNum;
        private String sharesName;
        private int bpFundsRId;
        private double earnAmtRatio;
        private int canSellNum;

        public String getSharesCode() {
            return sharesCode;
        }

        public void setSharesCode(String sharesCode) {
            this.sharesCode = sharesCode;
        }

        public String getBuyPrice() {
            return buyPrice;
        }

        public void setBuyPrice(String buyPrice) {
            this.buyPrice = buyPrice;
        }

        public String getNowPrice() {
            return nowPrice;
        }

        public void setNowPrice(String nowPrice) {
            this.nowPrice = nowPrice;
        }

        public String getMarketVal() {
            return marketVal;
        }

        public void setMarketVal(String marketVal) {
            this.marketVal = marketVal;
        }

        public int getSharesId() {
            return sharesId;
        }

        public void setSharesId(int sharesId) {
            this.sharesId = sharesId;
        }

        public String getEarnAmt() {
            return earnAmt;
        }

        public void setEarnAmt(String earnAmt) {
            this.earnAmt = earnAmt;
        }

        public int getNowNum() {
            return nowNum;
        }

        public void setNowNum(int nowNum) {
            this.nowNum = nowNum;
        }

        public String getSharesName() {
            return sharesName;
        }

        public void setSharesName(String sharesName) {
            this.sharesName = sharesName;
        }

        public int getBpFundsRId() {
            return bpFundsRId;
        }

        public void setBpFundsRId(int bpFundsRId) {
            this.bpFundsRId = bpFundsRId;
        }

        public double getEarnAmtRatio() {
            return earnAmtRatio;
        }

        public void setEarnAmtRatio(double earnAmtRatio) {
            this.earnAmtRatio = earnAmtRatio;
        }

        public int getCanSellNum() {
            return canSellNum;
        }

        public void setCanSellNum(int canSellNum) {
            this.canSellNum = canSellNum;
        }
    }
}
